﻿using System.Collections.Generic;

namespace LazyFun
{
    public class OtherInfo:Singleton<OtherInfo>
    {
        const string _custom_info_path = "./CustomInfo.xls";

        public Dictionary<int, CustomInfo> custom_other_info;

        public Dictionary<int, CustomInfo> GetOtherInfo
        {
            get {
                if (custom_other_info == null)
                {
                    custom_other_info = ExcelUtil.LoadCsvData<CustomInfo>(_custom_info_path);
                }

                return this.custom_other_info;
            }
        }

    }
}
